package com.hyt.it.ogt.pj.data.service.pj;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hyt.it.ogt.pj.data.model.entity.pj.Piece;

/**
 * <p>
 * 评卷块表 服务类
 * </p>
 *
 * @author qiaozj
 * @since 2020-07-09
 */
public interface IPieceService extends IService<Piece> {

    List<Piece> selectBySubject(String subjectId);
    
    List<Piece> selectByProjectIdSubjectId(String projectId, String subjectId);
    
    Piece selectPaperPiece(String projectId, String subjectId, String id);
    
    void updateFinishStatus(String projectId, String subjectId, String pieceCode, Boolean status);
}
